<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--[if IE 9 ]><html class="ie9"><![endif]-->
<head>
    <%@ include file="../frame_head.jsp" %>
        
    <!-- CSS -->
    <link href="${pageContext.request.contextPath }/css_b/bootstrap.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css_b/animate.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css_b/font-awesome.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css_b/form.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css_b/calendar.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css_b/media-player.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css_b/style.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css_b/icons.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath }/css_b/generics.css" rel="stylesheet"> 
</head>
<body id="skin-blur-violate">
    <!-- header -->
    <%@ include file="../frame_header.jsp" %>
    
    <section id="main" class="p-relative" role="main">
     <!-- Sidebar -->
     <%@ include file="../frame_aside.jsp" %>
      
        <!-- Content -->
        <section id="content" class="container">
      <!-- Breadcrumb -->
<ol class="breadcrumb hidden-xs">
    <li><a href="#">主页</a></li>
    <li class="active">数据</li>
</ol>

<h4 class="page-title">列表</h4>
            
            <!-- Deafult Table -->
            <div class="block-area" id="defaultStyle">
                <h3 class="block-title">添加一级分类</h3>
                <form id="userAction_save_do" name="Form1" action="${pageContext.request.contextPath}/adminCategory_save.action" method="post" >
                <table class="table tile">
                	<tr>
                		<td>一级分类名称：</td>
                		<td>
							<input type="text" style="color: black;"  name="cname" placeholder="请填入一级分类名称">
                		</td>
                		<td width="18%" align="center">
							所属的前置分类：
						</td>
						<td class="ta_01">
							<select name="prevcategory.pcid" style="color: black;">
								<s:iterator var="pc" value="prevList">
									<option style="color: black;" value="<s:property value="#pc.pcid"/>"><s:property value="#pc.pcname"/></option>
								</s:iterator>
							</select>
						</td>
                		<td>
			               	<button type="submit" id="userAction_save_do_submit" name="save" value="确定" class="btn btn-sm m-r-5">确定</button>
			               	<button type="reset" id="reset" name="reset" value="重置" class="btn btn-sm m-r-5">重置</button>
			               	<button type="button" id="back" name="back" value="返回" onclick="history.go(-1)" class="btn btn-sm m-r-5">返回</button>
                		</td>
                	</tr>
                </table>
               </form>
            </div>
        </section>
        <br/><br/>
    </section>
    
    <!-- Javascript Libraries -->
    <!-- jQuery -->
    <script src="${pageContext.request.contextPath }/js/jquery.min.js"></script> <!-- jQuery Library -->
    
    <!-- Bootstrap -->
    <script src="${pageContext.request.contextPath }/js/bootstrap.min.js"></script>
    
    <!-- UX -->
    <script src="${pageContext.request.contextPath }/js/scroll.min.js"></script> <!-- Custom Scrollbar -->
    
    <!-- Other -->
    <script src="${pageContext.request.contextPath }/js/calendar.min.js"></script> <!-- Calendar -->
    <script src="${pageContext.request.contextPath }/js/feeds.min.js"></script> <!-- News Feeds -->
    
    
    <!-- All JS functions -->
    <script src="${pageContext.request.contextPath }/js/functions.js"></script>
</body>
</html>

